<p>key-code works!</p>
<input type="text" (keydown)="keyDown($event)">